package pers.fqq.dlfd.demo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

/**
 * @author xzq
 * @version V1.0
 * @Desc:
 * @date 2018/5/3 20:31
 */
@ApiModel(value = "UpdateBankOrgReqDTO", description = "修改行内机构信息请求参数")
public class UpdateBankOrgReqDTO {

    @ApiModelProperty(value = "机构级别", required = false)
    @Length(max = 2, message = "BSC16025")
    private String orgLev;

    @ApiModelProperty(value = "机构名称", required = false)
    @Length(max = 32, message = "BSC16026")
    private String orgName;

    @ApiModelProperty(value = "机构编码", required = false)
    @Length(max = 64, message = "BSC16027")
    private String orgCode;

    @ApiModelProperty(value = "机构类型", required = false)
    @Length(max = 1, message = "BSC16028")
    private String bankOrgType;

    @ApiModelProperty(value = "记账机构编码")
    private String bookOrgCode;

    @ApiModelProperty(value = "父级机构编码", required = false)
    private String pOrgCode;

    @ApiModelProperty(value = "机构地址", required = false)
    @Length(max = 128, message = "BSC16029")
    private String orgSite;

    @ApiModelProperty("机构地区编号")
    private String areaCode;

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getOrgLev() {
        return orgLev;
    }

    public void setOrgLev(String orgLev) {
        this.orgLev = orgLev;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getBankOrgType() {
        return bankOrgType;
    }

    public void setBankOrgType(String bankOrgType) {
        this.bankOrgType = bankOrgType;
    }

    public String getpOrgCode() {
        return pOrgCode;
    }

    public void setpOrgCode(String pOrgCode) {
        this.pOrgCode = pOrgCode;
    }

    public String getOrgSite() {
        return orgSite;
    }

    public void setOrgSite(String orgSite) {
        this.orgSite = orgSite;
    }

    public String getBookOrgCode() {
        return bookOrgCode;
    }

    public void setBookOrgCode(String bookOrgCode) {
        this.bookOrgCode = bookOrgCode;
    }
}
